package ooday04;

public class ChickO extends AnimalO {
    ChickO(String name, int age, String color){
        super(name,age,color);
    }
    public void eat(){
        System.out.println(color+"的"+age+"岁的"+name+"正在吃饭...");
    }
    void layEgg(){
        System.out.println(color+"的"+age+"岁的"+name+"刚下了一个蛋...");
    }
}
